package com.ctrip.ec.api.mobile.model.payment;

import com.ctrip.ec.biz.entity.goods.GoodsEntity;

import java.math.BigDecimal;

/**
 * Created by jiangzy on 2018/9/29.
 */
public class CartGoodsModel extends GoodsEntity {
    public  CartGoodsModel(){ }
    public  CartGoodsModel(GoodsEntity entity){
        for(String col : entity.property().getColumns()){
            this.fieldValue(col,entity.fieldValue(col));
        }
    }
    private BigDecimal shopPrice;

    public BigDecimal getShopPrice() {
        return shopPrice;
    }

    public void setShopPrice(BigDecimal shopPrice) {
        this.shopPrice = shopPrice;
    }
}
